package sjtu.ist.warehouse4ws.service;

import java.util.List;

import sjtu.ist.warehouse4ws.model.Department;

public interface DepartmentService {
	List<Department> getDepartmentList ();

	List<Department> getCompanyList();
	
	List<Department> getCompanyListByGroupAndVersion(String groupId,String versionId);
	
    public void save(List<Department> DeptList,int companyId);//newly added by Jackie
    
    public List getDepartmentByGroupId(int groupId);
	
	public List getDepartmentById (String id);
	
	public List getDepartmentByFileId (String fileId);
	
	public List getDepartmentByGroupAndVersion (String groupId,String versionId);
}
